Answer: We are given that the guilty one lied. If B were guilty, he would have told the truth when he accused himself; therefore, B cannot be guilty. If A were guilty, then all three of them would have lied (because A would have accused either B or C, both of whom were innocent; B would have accused himself, who was innocent; and C would have accused either C, who was innocent, or A, who is innocent). But we are given that not all of them lied, so A can't be guilty either. So C was guilty.